<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen; http://apigen.org" />

	<title>Class Nette\Web\Html</title>

	<link rel="stylesheet" href="resources/style.css?v=2011071314" type="text/css" media="all" />
	<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
	<link rel="search" href="opensearch.xml" type="application/opensearchdescription+xml" title="Nette Framework API documentation" />
	<script type="text/javascript" src="resources/combined.js"></script>
	<script type="text/javascript" src="allclasses.js"></script>
</head>

<body>
<div id="left">
	<a href="allclasses.html">All Classes</a>

	<h3>Namespaces</h3>
	<ul>
		<li><a href="namespace-none.html">none</a>
		</li>
		<li><a href="namespace-Nette.html">Nette</a>
		</li>
		<li><a href="namespace-Nette.Application.html">Nette\Application</a>
		</li>
		<li><a href="namespace-Nette.Caching.html">Nette\Caching</a>
		</li>
		<li><a href="namespace-Nette.Collections.html">Nette\Collections</a>
		</li>
		<li><a href="namespace-Nette.Config.html">Nette\Config</a>
		</li>
		<li><a href="namespace-Nette.Forms.html">Nette\Forms</a>
		</li>
		<li><a href="namespace-Nette.IO.html">Nette\IO</a>
		</li>
		<li><a href="namespace-Nette.Loaders.html">Nette\Loaders</a>
		</li>
		<li><a href="namespace-Nette.Mail.html">Nette\Mail</a>
		</li>
		<li><a href="namespace-Nette.Reflection.html">Nette\Reflection</a>
		</li>
		<li><a href="namespace-Nette.Security.html">Nette\Security</a>
		</li>
		<li><a href="namespace-Nette.Templates.html">Nette\Templates</a>
		</li>
		<li class="active"><a href="namespace-Nette.Web.html">Nette\Web</a>
		</li>
		<li><a href="namespace-PHP.html">PHP</a>
		</li>
	</ul>

	<hr />

	<h3>Classes</h3>

	<ul>
		<li><a href="Nette.Web.Ftp.html">Ftp</a></li>
		<li class="active"><a href="Nette.Web.Html.html">Html</a></li>
		<li><a href="Nette.Web.HttpContext.html">HttpContext</a></li>
		<li><a href="Nette.Web.HttpRequest.html">HttpRequest</a></li>
		<li><a href="Nette.Web.HttpResponse.html">HttpResponse</a></li>
		<li><a href="Nette.Web.HttpUploadedFile.html">HttpUploadedFile</a></li>
		<li><a href="Nette.Web.Session.html">Session</a></li>
		<li><a href="Nette.Web.SessionNamespace.html">SessionNamespace</a></li>
		<li><a href="Nette.Web.Uri.html">Uri</a></li>
		<li><a href="Nette.Web.UriScript.html">UriScript</a></li>
		<li><a href="Nette.Web.User.html">User</a></li>
	</ul>

	<h3>Interfaces</h3>

	<ul>
		<li><a href="Nette.Web.IHttpRequest.html">IHttpRequest</a></li>
		<li><a href="Nette.Web.IHttpResponse.html">IHttpResponse</a></li>
		<li><a href="Nette.Web.IUser.html">IUser</a></li>
	</ul>

	<h3>Exceptions</h3>

	<ul>
		<li><a href="Nette.Web.FtpException.html">FtpException</a></li>
	</ul>
</div>

<div id="right">
	<form action="http://www.google.com/cse" id="search" onsubmit="if(this.q.value.indexOf('more:')==-1)this.q.value+=' more:api'">
		<input type="hidden" name="cx" value="011549293477758430224:vxofa9ufnhc" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" class="text" /><input type="submit" value="Search" />
	</form>

<div id="navigation">
	<ul>
		<li><a href="overview.html" title="Summary of all namespaces">Overview</a></li>
		<li><a href="namespace-Nette.Web.html" title="Summary of Nette\Web">Namespace</a></li>
		<li class="active">Class</li>
		<li><a href="elements.html">Elements</a></li>
	</ul>
</div>

<div id="content">
	<div id="classSummary">
		<p>namespace <a href="namespace-Nette.Web.html">Nette\Web</a></p>

		<h1>Class Html</h1>

		<div class="classDescription">
		
<p>HTML helper.</p>

<pre>
<span class="php-var">$anchor</span> = Html::el(<span
class="php-quote">'a'</span>)-&gt;href(<span
class="php-var">$link</span>)-&gt;setText(<span
class="php-quote">'Nette'</span>);
<span class="php-var">$el</span>-&gt;<span
class="php-keyword1">class</span> = <span
class="php-quote">'myclass'</span>;
<span class="php-keyword1">echo</span> <span
class="php-var">$el</span>;

<span class="php-keyword1">echo</span> <span
class="php-var">$el</span>-&gt;startTag(), <span
class="php-var">$el</span>-&gt;endTag();
</pre>

		</div>

		<dl class="tree">
			<dd style="padding-left:0px">
				<a href="Nette.Object.html">Nette\Object</a>
				
			</dd>
			<dd style="padding-left:30px">
				<img src="resources/inherit.gif" alt="extended by" />
<b>Nette\Web\Html</b>				 implements <a href="ArrayAccess.html">ArrayAccess</a>, <a href="Countable.html">Countable</a>, <a href="IteratorAggregate.html">IteratorAggregate</a>, <a href="Traversable.html">Traversable</a>
			</dd>
		</dl>



		<div class="classInfo">
			
				<b>Author:</b> David Grudl<br />
			<b>Located at</b> <a href="source-Web.Html.php.html#18">/Web/Html.php</a><br />
		</div>
	</div>


	<div id="methodSummary">
		<table class="summary">
		<caption>Method Summary</caption>
		<tr data-order="0 el" id="_el">
			<td align="right" width="1%"><code class="nowrap">
				 public static
				<a href="Nette.Web.Html.html">Html</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_el">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#54" title="go to source code"><b>el</b></a>(
					string
					<var>$name</var> = <span class="php-keyword1">NULL</span>, 
					array|string
					<var>$attrs</var> = <span class="php-keyword1">NULL</span>
			)</code>

			<div class="short">
				
<p>Static factory.</p>

			</div>

			<div class="detailed">
				
<p>Static factory.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$name</code> string element name (or NULL)<br />
						<code>$attrs</code> array|string element's attributes (or textual content)<br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.Html.html">Html</a> </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 setName" id="_setName">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				<a href="Nette.Web.Html.html">Html</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_setName">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#85" title="go to source code"><b>setName</b></a>(
					string
					<var>$name</var>, 
					bool
					<var>$isEmpty</var> = <span class="php-keyword1">NULL</span>
			)</code>

			<div class="short">
				
<p>Changes element's name.</p>

			</div>

			<div class="detailed">
				
<p>Changes element's name.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$name</code> string <br />
						<code>$isEmpty</code> bool Is element empty?<br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.Html.html">Html</a> provides a fluent interface</div>

					<h4>Throws</h4>
					<div class="smallList">
						<a href="InvalidArgumentException.html">InvalidArgumentException</a> <br />
					</div>

			</div>
			</td>
		</tr>
		<tr data-order="1 getName" id="_getName">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getName">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#105" title="go to source code"><b>getName</b></a>(
			)</code>

			<div class="short">
				
<p>Returns element's name.</p>

			</div>

			<div class="detailed">
				
<p>Returns element's name.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 isEmpty" id="_isEmpty">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				bool
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_isEmpty">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#116" title="go to source code"><b>isEmpty</b></a>(
			)</code>

			<div class="short">
				
<p>Is element empty?</p>

			</div>

			<div class="detailed">
				
<p>Is element empty?</p>




					<h4>Returns</h4>
					<div class="smallList">bool </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 __set" id="___set">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				void
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#___set">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#127" title="go to source code"><b>__set</b></a>(
					string
					<var>$name</var>, 
					mixed
					<var>$value</var>
			)</code>

			<div class="short">
				
<p>Overloaded setter for element's attribute.</p>

			</div>

			<div class="detailed">
				
<p>Overloaded setter for element's attribute.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$name</code> string HTML attribute name<br />
						<code>$value</code> mixed HTML attribute value<br />
					</div>



			</div>
			</td>
		</tr>
		<tr data-order="1 __get" id="___get">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				mixed
				&amp;
				</code>
			</td>

			<td>
			<a class="anchor" href="#___get">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#140" title="go to source code"><b>__get</b></a>(
					string
					<var>$name</var>
			)</code>

			<div class="short">
				
<p>Overloaded getter for element's attribute.</p>

			</div>

			<div class="detailed">
				
<p>Overloaded getter for element's attribute.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$name</code> string HTML attribute name<br />
					</div>

					<h4>Returns</h4>
					<div class="smallList">mixed HTML attribute value</div>


			</div>
			</td>
		</tr>
		<tr data-order="1 __unset" id="___unset">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				void
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#___unset">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#152" title="go to source code"><b>__unset</b></a>(
					string
					<var>$name</var>
			)</code>

			<div class="short">
				
<p>Overloaded unsetter for element's attribute.</p>

			</div>

			<div class="detailed">
				
<p>Overloaded unsetter for element's attribute.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$name</code> string HTML attribute name<br />
					</div>



			</div>
			</td>
		</tr>
		<tr data-order="1 __call" id="___call">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				<a href="Nette.Web.Html.html">Html</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#___call">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#164" title="go to source code"><b>__call</b></a>(
					string
					<var>$m</var>, 
					array
					<var>$args</var>
			)</code>

			<div class="short">
				
<p>Overloaded setter for element's attribute.</p>

			</div>

			<div class="detailed">
				
<p>Overloaded setter for element's attribute.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$m</code> string HTML attribute name<br />
						<code>$args</code> array (string) HTML attribute value or pair?<br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.Html.html">Html</a> provides a fluent interface</div>


			</div>
			</td>
		</tr>
		<tr data-order="1 href" id="_href">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				<a href="Nette.Web.Html.html">Html</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_href">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#204" title="go to source code"><b>href</b></a>(
					string
					<var>$path</var>, 
					array
					<var>$query</var> = <span class="php-keyword1">NULL</span>
			)</code>

			<div class="short">
				
<p>Special setter for element's attribute.</p>

			</div>

			<div class="detailed">
				
<p>Special setter for element's attribute.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$path</code> string path<br />
						<code>$query</code> array query<br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.Html.html">Html</a> provides a fluent interface</div>


			</div>
			</td>
		</tr>
		<tr data-order="1 setHtml" id="_setHtml">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				<a href="Nette.Web.Html.html">Html</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_setHtml">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#222" title="go to source code"><b>setHtml</b></a>(
					string
					<var>$html</var>
			)</code>

			<div class="short">
				
<p>Sets element's HTML content.</p>

			</div>

			<div class="detailed">
				
<p>Sets element's HTML content.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$html</code> string <br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.Html.html">Html</a> provides a fluent interface</div>

					<h4>Throws</h4>
					<div class="smallList">
						<a href="InvalidArgumentException.html">InvalidArgumentException</a> <br />
					</div>

			</div>
			</td>
		</tr>
		<tr data-order="1 getHtml" id="_getHtml">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getHtml">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#247" title="go to source code"><b>getHtml</b></a>(
			)</code>

			<div class="short">
				
<p>Returns element's HTML content.</p>

			</div>

			<div class="detailed">
				
<p>Returns element's HTML content.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 setText" id="_setText">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				<a href="Nette.Web.Html.html">Html</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_setText">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#266" title="go to source code"><b>setText</b></a>(
					string
					<var>$text</var>
			)</code>

			<div class="short">
				
<p>Sets element's textual content.</p>

			</div>

			<div class="detailed">
				
<p>Sets element's textual content.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$text</code> string <br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.Html.html">Html</a> provides a fluent interface</div>

					<h4>Throws</h4>
					<div class="smallList">
						<a href="InvalidArgumentException.html">InvalidArgumentException</a> <br />
					</div>

			</div>
			</td>
		</tr>
		<tr data-order="1 getText" id="_getText">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getText">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#282" title="go to source code"><b>getText</b></a>(
			)</code>

			<div class="short">
				
<p>Returns element's textual content.</p>

			</div>

			<div class="detailed">
				
<p>Returns element's textual content.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 add" id="_add">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				<a href="Nette.Web.Html.html">Html</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_add">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#293" title="go to source code"><b>add</b></a>(
					<a href="Nette.Web.Html.html">Html</a>|string
					<var>$child</var>
			)</code>

			<div class="short">
				
<p>Adds new element's child.</p>

			</div>

			<div class="detailed">
				
<p>Adds new element's child.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$child</code> <a href="Nette.Web.Html.html">Html</a>|string child node<br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.Html.html">Html</a> provides a fluent interface</div>


			</div>
			</td>
		</tr>
		<tr data-order="1 create" id="_create">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				<a href="Nette.Web.Html.html">Html</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_create">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#305" title="go to source code"><b>create</b></a>(
					string
					<var>$name</var>, 
					array|string
					<var>$attrs</var> = <span class="php-keyword1">NULL</span>
			)</code>

			<div class="short">
				
<p>Creates and adds a new Html child.</p>

			</div>

			<div class="detailed">
				
<p>Creates and adds a new Html child.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$name</code> string elements's name<br />
						<code>$attrs</code> array|string element's attributes (or textual content)<br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.Html.html">Html</a> created element</div>


			</div>
			</td>
		</tr>
		<tr data-order="1 insert" id="_insert">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				<a href="Nette.Web.Html.html">Html</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_insert">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#319" title="go to source code"><b>insert</b></a>(
					int
					<var>$index</var>, 
					<a href="Nette.Web.Html.html">Html</a>
					<var>$child</var>, 
					bool
					<var>$replace</var> = <span class="php-keyword1">false</span>
			)</code>

			<div class="short">
				
<p>Inserts child node.</p>

			</div>

			<div class="detailed">
				
<p>Inserts child node.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$index</code> int <br />
						<code>$child</code> <a href="Nette.Web.Html.html">Html</a> node<br />
						<code>$replace</code> bool <br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.Html.html">Html</a> provides a fluent interface</div>

					<h4>Throws</h4>
					<div class="smallList">
						<a href="Exception.html">Exception</a> <br />
					</div>

			</div>
			</td>
		</tr>
		<tr data-order="1 offsetSet" id="_offsetSet">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				void
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_offsetSet">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#346" title="go to source code"><b>offsetSet</b></a>(
					int
					<var>$index</var>, 
					<a href="Nette.Web.Html.html">Html</a>
					<var>$child</var>
			)</code>

			<div class="short">
				
<p>Inserts (replaces) child node (\ArrayAccess implementation).</p>

			</div>

			<div class="detailed">
				
<p>Inserts (replaces) child node (\ArrayAccess implementation).</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$index</code> int <br />
						<code>$child</code> <a href="Nette.Web.Html.html">Html</a> node<br />
					</div>



					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="ArrayAccess.html#_offsetSet">ArrayAccess::offsetSet</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 offsetGet" id="_offsetGet">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				mixed
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_offsetGet">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#359" title="go to source code"><b>offsetGet</b></a>(
					int
					<var>$index</var>
			)</code>

			<div class="short">
				
<p>Returns child node (\ArrayAccess implementation).</p>

			</div>

			<div class="detailed">
				
<p>Returns child node (\ArrayAccess implementation).</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$index</code> int index<br />
					</div>

					<h4>Returns</h4>
					<div class="smallList">mixed </div>


					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="ArrayAccess.html#_offsetGet">ArrayAccess::offsetGet</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 offsetExists" id="_offsetExists">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				bool
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_offsetExists">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#371" title="go to source code"><b>offsetExists</b></a>(
					int
					<var>$index</var>
			)</code>

			<div class="short">
				
<p>Exists child node? (\ArrayAccess implementation).</p>

			</div>

			<div class="detailed">
				
<p>Exists child node? (\ArrayAccess implementation).</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$index</code> int index<br />
					</div>

					<h4>Returns</h4>
					<div class="smallList">bool </div>


					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="ArrayAccess.html#_offsetExists">ArrayAccess::offsetExists</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 offsetUnset" id="_offsetUnset">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				void
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_offsetUnset">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#383" title="go to source code"><b>offsetUnset</b></a>(
					int
					<var>$index</var>
			)</code>

			<div class="short">
				
<p>Removes child node (\ArrayAccess implementation).</p>

			</div>

			<div class="detailed">
				
<p>Removes child node (\ArrayAccess implementation).</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$index</code> int index<br />
					</div>



					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="ArrayAccess.html#_offsetUnset">ArrayAccess::offsetUnset</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 count" id="_count">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				int
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_count">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#397" title="go to source code"><b>count</b></a>(
			)</code>

			<div class="short">
				
<p>Required by the \Countable interface.</p>

			</div>

			<div class="detailed">
				
<p>Required by the \Countable interface.</p>




					<h4>Returns</h4>
					<div class="smallList">int </div>


					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="Countable.html#_count">Countable::count</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 removeChildren" id="_removeChildren">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				void
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_removeChildren">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#408" title="go to source code"><b>removeChildren</b></a>(
			)</code>

			<div class="short">
				
<p>Removed all children.</p>

			</div>

			<div class="detailed">
				
<p>Removed all children.</p>






			</div>
			</td>
		</tr>
		<tr data-order="1 getIterator" id="_getIterator">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				<a href="RecursiveIterator.html">RecursiveIterator</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getIterator">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#419" title="go to source code"><b>getIterator</b></a>(
					bool
					<var>$deep</var> = <span class="php-keyword1">false</span>
			)</code>

			<div class="short">
				
<p>Iterates over a elements.</p>

			</div>

			<div class="detailed">
				
<p>Iterates over a elements.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$deep</code> bool recursive?<br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="RecursiveIterator.html">RecursiveIterator</a> </div>


					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="IteratorAggregate.html#_getIterator">IteratorAggregate::getIterator</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 getChildren" id="_getChildren">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getChildren">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#438" title="go to source code"><b>getChildren</b></a>(
			)</code>

			<div class="short">
				
<p>Returns all of children.</p>

			</div>

			<div class="detailed">
				
<p>Returns all of children.<br>
return array</p>






			</div>
			</td>
		</tr>
		<tr data-order="1 render" id="_render">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_render">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#449" title="go to source code"><b>render</b></a>(
					int
					<var>$indent</var> = <span class="php-keyword1">NULL</span>
			)</code>

			<div class="short">
				
<p>Renders element's start tag, content and end tag.</p>

			</div>

			<div class="detailed">
				
<p>Renders element's start tag, content and end tag.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$indent</code> int indent<br />
					</div>

					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 __toString" id="___toString">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#___toString">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#482" title="go to source code"><b>__toString</b></a>(
			)</code>

			<div class="short">
				
			</div>

			<div class="detailed">
				





			</div>
			</td>
		</tr>
		<tr data-order="1 startTag" id="_startTag">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_startTag">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#490" title="go to source code"><b>startTag</b></a>(
			)</code>

			<div class="short">
				
<p>Returns element's start tag.</p>

			</div>

			<div class="detailed">
				
<p>Returns element's start tag.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 endTag" id="_endTag">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_endTag">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#506" title="go to source code"><b>endTag</b></a>(
			)</code>

			<div class="short">
				
<p>Returns element's end tag.</p>

			</div>

			<div class="detailed">
				
<p>Returns element's end tag.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 attributes" id="_attributes">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_attributes">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#517" title="go to source code"><b>attributes</b></a>(
			)</code>

			<div class="short">
				
<p>Returns element's attributes.</p>

			</div>

			<div class="detailed">
				
<p>Returns element's attributes.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 __clone" id="___clone">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#___clone">#</a>
			<code class="nowrap">
				<a href="source-Web.Html.php.html#569" title="go to source code"><b>__clone</b></a>(
			)</code>

			<div class="short">
				
<p>Clones all children too.</p>

			</div>

			<div class="detailed">
				
<p>Clones all children too.</p>






			</div>
			</td>
		</tr>

		</table>
	</div>


	<h2>Methods Inherited From <a href="Nette.Object.html#methodSummary">Nette\Object</a></h2>
	<div class="box"><code>
		<a href="Nette.Object.html#_getClass" class="deprecated">getClass()</a>, <a href="Nette.Object.html#_getReflection">getReflection()</a>, <a href="Nette.Object.html#___call">__call()</a>, <a href="Nette.Object.html#___callStatic">__callStatic()</a>, <a href="Nette.Object.html#_extensionMethod">extensionMethod()</a>, <a href="Nette.Object.html#___get">__get()</a>, <a href="Nette.Object.html#___set">__set()</a>, <a href="Nette.Object.html#___isset">__isset()</a>, <a href="Nette.Object.html#___unset">__unset()</a>
	</code></div>





	<div id="propertySummary">
		<table class="summary">
		<caption>Property Summary</caption>
		<tr data-order="attrs" id="$attrs">
			<td align="right" width="1%"><code class="nowrap">
				 
				array
			</code></td>

			<td width="1%"><var>$attrs</var></td>
			<td><pre><span class="php-keyword1">array</span> (
)</pre></td>
			<td>element's attributes <a href="#$attrs" class="anchor">#</a></td>
		</tr>
		<tr data-order="children" id="$children">
			<td align="right" width="1%"><code class="nowrap">
				protected 
				array
			</code></td>

			<td width="1%"><var>$children</var></td>
			<td><pre><span class="php-keyword1">array</span> (
)</pre></td>
			<td>of Html | string nodes <a href="#$children" class="anchor">#</a></td>
		</tr>
		<tr data-order="xhtml" id="$xhtml">
			<td align="right" width="1%"><code class="nowrap">
				 static
				bool
			</code></td>

			<td width="1%"><var>$xhtml</var></td>
			<td><pre><span class="php-keyword1">true</span></pre></td>
			<td>use XHTML syntax? <a href="#$xhtml" class="anchor">#</a></td>
		</tr>
		<tr data-order="emptyElements" id="$emptyElements">
			<td align="right" width="1%"><code class="nowrap">
				 static
				array
			</code></td>

			<td width="1%"><var>$emptyElements</var></td>
			<td><pre><span class="php-keyword1">array</span> (
  <span class="php-quote">'img'</span> =&gt; <span class="php-num">1</span>,
  <span class="php-quote">'hr'</span> =&gt; <span class="php-num">1</span>,
  <span class="php-quote">'br'</span> =&gt; <span class="php-num">1</span>,
  <span class="php-quote">'input'</span> =&gt; <span class="php-num">1</span>,
  <span class="php-quote">'meta'</span> =&gt; <span class="php-num">1</span>,
  <span class="php-quote">'area'</span> =&gt; <span class="php-num">1</span>,
  <span class="php-quote">'command'</span> =&gt; <span class="php-num">1</span>,
  <span class="php-quote">'keygen'</span> =&gt; <span class="php-num">1</span>,
  <span class="php-quote">'source'</span> =&gt; <span class="php-num">1</span>,
  <span class="php-quote">'base'</span> =&gt; <span class="php-num">1</span>,
  <span class="php-quote">'col'</span> =&gt; <span class="php-num">1</span>,
  <span class="php-quote">'link'</span> =&gt; <span class="php-num">1</span>,
  <span class="php-quote">'param'</span> =&gt; <span class="php-num">1</span>,
  <span class="php-quote">'basefont'</span> =&gt; <span class="php-num">1</span>,
  <span class="php-quote">'frame'</span> =&gt; <span class="php-num">1</span>,
  <span class="php-quote">'isindex'</span> =&gt; <span class="php-num">1</span>,
  <span class="php-quote">'wbr'</span> =&gt; <span class="php-num">1</span>,
  <span class="php-quote">'embed'</span> =&gt; <span class="php-num">1</span>,
)</pre></td>
			<td>empty elements <a href="#$emptyElements" class="anchor">#</a></td>
		</tr>

		</table>
	</div>


</div>

	<div id="footer">
		Nette Framework API documentation generated by <a href="http://apigen.org">ApiGen</a>
	</div>
</div>
</body>
</html>
